Part Number Hot Search : 
R2101229 B1205 KEL3002A AK8789 MTZ2V0 IPD60R EUP34 V6123
Product Description
Full Text Search
 

To Download MAX6916EO30 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 19-3694; Rev 0; 10/05
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
General Description
The MAX6916 provides all the features of a real-time clock (RTC) plus a microprocessor supervisory circuit, NV RAM controller, and backup-battery monitor function. In addition, 96 x 8 bits of static RAM are available for scratchpad storage. The MAX6916 communicates with a microprocessor through an SPITM-bus-compatible serial interface. The real-time clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap years through 2099. The clock operates in either 24hr or 12hr format with an AM/PM indicator. A time/date-programmable alarm function is provided with an open-drain, active-low alarm output. The microprocessor supervisory circuit features an open-drain, active-low reset available in three different reset thresholds. A manual reset input and a watchdog function are included as well. The NV RAM controller provides power for external SRAM from a backup battery plus chip-enable gating. The backup battery also provides data retention of the on-board 96 x 8 bits of RAM. An open-drain, active-low, battery-on signal alerts the system when operating from a battery. The battery-test circuitry periodically tests the backup battery for a low-battery condition. An optional external resistor network selects different battery thresholds. A freshness seal prevents battery drain until the first VCC power-up. The MAX6916 has a crystal-fail-detect circuit and a data-valid bit. The MAX6916 is available in a 20-pin QSOP package and is guaranteed to operate over the -40C to +85C extended temperature range.
Features
o Real-Time Clock Counts Seconds, Minutes, Hours, Date, Month, Day of Week, and Year with Leap-Year Compensation Through 2099 o 4MHz SPI-Bus-Compatible Interface at 5V, 2MHz at 3V, and 3.3V o SPI Interface Supports Modes 1 and 3 (0, 1 and 1, 1) o 96 x 8 Bits of RAM for Scratchpad Data Storage o Uses Standard 32.768kHz, 6pF Load, Watch Crystal o Single-Byte or Multiple-Byte (Burst Mode) Data Transfer for Read or Write of Clock Registers or RAM o Battery Monitor and Low-Battery Warning Output Internal Default for Lithium Backup-Battery Testing Pins Available for Other Backup-Battery Testing Configurations o Dual Power-Supply Pins for Primary and Backup Power o Battery-On Output o NV RAM Controller Chip-Enable Gating (Control of CE with Reset and Power Valid) VOUT for SRAM Power o P Supervisor with Watchdog Input o Programmable Time/Date Alarm Output o Data Valid Bit (Loss of All Voltage Alerts User of Corrupt Data) o Crystal-Fail Detect o Small 20-Pin, QSOP Surface-Mount Package
MAX6916
Applications
Point-of-Sale Equipment Programmable Logic Controllers Intelligent Instruments Fax Machines Digital Thermostats Industrial Controls
Pin Configuration and Selector Guide appear at end of data sheet. SPI is a trademark of Motorola, Inc.
Ordering Information
PART MAX6916EO30+ MAX6916EO33+ MAX6916EO50+ TEMP RANGE -40C to +85C -40C to +85C -40C to +85C PINPACKAGE 20 QSOP 20 QSOP 20 QSOP PKG CODE E20-2 E20-2 E20-2
+Denotes lead-free package.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
ABSOLUTE MAXIMUM RATINGS
VBATT, VCC to GND ...............................................-0.3V to +6.0V All Other Pins to GND.................................-0.3V to (VCC + 0.3V) All Other Pins to GND..............................-0.3V to (VBATT + 0.3V) Input Currents VCC ............................................................................200mA VBATT ...........................................................................20mA GND ..............................................................................20mA All Other Pins ..............................................................20mA Output Currents VOUT Continuous .........................................................200mA All Other Outputs ...........................................................20mA Continuous Power Dissipation (TA = +70C) 20-Pin QSOP (derate 9.1mW/C over +70C).............727mW Operating Temperature Range ...........................-40C to +85C Junction Temperature ......................................................+150C Storage Temperature Range .............................-65C to +150C Lead Temperature (soldering, 10s) .................................+300C
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
DC ELECTRICAL CHARACTERISTICS
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Notes 1, 2)
PARAMETER Operating Voltage Range (Note 3) SYMBOL VCC CONDITIONS MAX6916EO30 MAX6916EO33 MAX6916EO50 MAX6916EO30 Operating Voltage Range BATT (Note 4) VBATT MAX6916EO33 MAX6916EO50 VBATT = 2V, VCC = 0 XTAL FAIL disabled Timekeeping Current VBATT (Note 5) IBATT XTAL FAIL enabled VBATT = 3V, VCC = 0 VBATT = 3.6V, VCC = 0 VBATT = 5.5V, VCC = 0 VBATT = 2V, VCC = 0 VBATT = 3V, VCC = 0 VBATT = 3.6V, VCC = 0 VBATT = 5.5V, VCC = 0 XTAL FAIL disabled Active Supply Current VCC (Note 6) ICCA XTAL FAIL enabled VCC = 3.3V, VBATT = 0 VCC = 3.6V, VBATT = 0 VCC = 5.5V, VBATT = 0 VCC = 3.3V, VBATT = 0 VCC = 3.6V, VBATT = 0 VCC = 5.5V, VBATT = 0 XTAL FAIL disabled Standby Current VCC (Note 5) ICCS XTAL FAIL enabled VCC = 3.3V, VBATT = 0 VCC = 3.6V, VBATT = 0 VCC = 5.5V, VBATT = 0 VCC = 3.3V, VBATT = 0 VCC = 3.6V, VBATT = 0 VCC = 5.5V, VBATT = 0 MIN 2.7 3.0 4.5 2.0 2.0 2.0 TYP 3.0 3.3 5.0 MAX 3.3 3.6 5.5 5.5 5.5 5.5 1 1.4 1.9 3.8 1.23 1.61 2.3 4.08 0.35 0.4 1.1 0.36 0.42 1.2 20 25 76 27 30 81 A mA A V V UNITS
2
_______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
DC ELECTRICAL CHARACTERISTICS (continued)
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Notes 1, 2)
PARAMETER VOUT VCC = 2.7V, VBATT = 0, IOUT = 35mA VOUT in VCC Mode (Note 4) VOUT VCC = 3.0V, VBATT = 0, IOUT = 35mA VCC = 4.5V, VBATT = 0, IOUT = 70mA VBATT = 2V, VCC = 0, IOUT = 400A VOUT in Battery-Backup Mode (Notes 4, 7) VOUT VBATT = 3V, VCC = 0, IOUT = 800A VBATT = 4.5V, VCC = 0, IOUT = 1.5mA VBATT-to-VCC Switchover Threshold VCC-to-VBATT Switchover Threshold VTRU VTRD Power-up (VCC < VRST) switch from VBATT to VCC (Note 7) Power-down (VCC < VRST) switch from VCC to VBATT (Note 7) Disabled, VCC < VRST, V CE_IN = VCC or GND VCC = VCC(MIN), VIH = 0.9VCC, CE_OUT = GND, VIL = 0.1VCC, CE_OUT = VCC 50 source impedance driver, CLOAD = 10pF, VCC = VCC(MIN), VIH = 0.9VCC, VIL = 0.1VCC (Note 8); measured from 50% point on CE_IN to the 50% point of CE_OUT MR high to low 2 140 IOH = -100A, VBATT = 2V, VCC = 0, RESET = low 0.8 x VBATT 0.8 2.0 Internal pullup resistor 1 tGW tRD VCC = VCC(MIN), VBATT = 0 450 35 600 50 VCC 0.2 VCC 0.2 VCC 0.2 VBATT 0.02 VBATT 0.03 VBATT 0.05 VBATT + 0.1 VBATT - 0.1 V V V V SYMBOL CONDITIONS MIN TYP MAX UNITS
MAX6916
CE_IN AND CE_OUT (Figures 7, 11, 12, 13) CE_IN Leakage Current CE_IN-to-CE_OUT Resistance IIL, IIH -1 46 +1 140 A
CE_IN-to-CE_OUT Propagation Delay
tCED
10
20
ns
RESET Active to CE_OUT High Delay CE_OUT Active-Low Delay after VCC > VRST CE_OUT Output High Voltage MR INPUT (Figure 7) MR Input Voltage MR Pullup Resistance MR Minimum Pulse Width MR Glitch Immunity MR to RESET Delay
tRCE tRP VOH
10 200
50 280
s ms V
VIL VIH
V k s ns ns
_______________________________________________________________________________________
3
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
DC ELECTRICAL CHARACTERISTICS (continued)
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Notes 1, 2)
PARAMETER WDI INPUT (Figure 9) WDI Initial Timeout Period Watchdog Timeout Period Minimum WDI Input Pulse Width WDI Input Threshold WDI Input Leakage Current VCC Standby Current with WDI Max Frequency VBATT Trip Point TRIP Input Threshold TRIP Input Comparator Hysteresis TRIP Input Current Battery Test Load TEST Output High Voltage TEST Output Low Voltage BATT_LO, ALM OUTPUT VOL Output Low Voltage Off-Leakage BATT_ON OUTPUT VOL Output Low Voltage Off-Leakage RESET MAX6916EO30 RESET Threshold Voltage VRST Hysteresis VRST VHYST VCC falling from VRST(MAX) to VRST(MIN) measured from the beginning of VCC falling to RESET low MAX6916EO30 MAX6916EO33 MAX6916EO50 MAX6916EO33 MAX6916EO50 2.5 2.8 4.1 2.63 2.93 4.38 30 27 37 50 75 90 120 s 2.7 3.0 4.5 mV V VOL VOL ILKG VBATT = 2V, VCC = 0, IOL = 5mA VBATT = 2.7V, VCC = 0, IOL = 10mA VBATT = 4.5V, VCC = 0, IOL = 20mA -100 0.5 0.5 0.5 +100 nA V VOL VOL ILKG VBATT = 2V, VCC = 0, IOL = 5mA VCC = 2.7V, VBATT = 0, IOL = 10mA VCC = 4.5V, VBATT = 0, IOL = 20mA -100 0.5 0.5 0.5 +100 nA V ICCSW tWDL tWDS tWDI VIL VIH VWDI = VCC or GND Watchdog frequency = 1MHz, VCC = VCC(MAX) (Note 5) Internal mode VCC = VCC(MAX), VBATT = 2V, external mode 2.45 1.14 2.6 1.24 10 External mode -100 0.5 VOUT 0.3V 0.3 0.91 +100 1.3 2.0 -100 +100 450 nA A VCC > VRST from rising edge of RESET Long watchdog timeout period Short watchdog timeout period 1.00 1.00 140 100 0.8 1.6 1.6 200 2.25 2.25 280 s s ms ns V SYMBOL CONDITIONS MIN TYP MAX UNITS
BATTERY TEST AND TRIP (Figures 14, 15, and 16) VBTP VTRIP VTRIP_HYST ITRIP_LKG VTEST_HIG
H
2.7 1.31
V V mV nA M V V
RLOAD_INT Internal ITEST = -5mA
VTEST_LOW ITEST = 5mA
VCC Falling-Reset Delay
tRPD
4
_______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
DC ELECTRICAL CHARACTERISTICS (continued)
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Notes 1, 2)
PARAMETER Main Reset Active-Timeout Period RESET Output-Low Voltage Off-Leakage SPI DIGITAL INPUTS DIN, SCLK, CS Input High Voltage Input Low Voltage Input Hysteresis Input Leakage Current Input Capacitance SPI DIGITAL OUTPUT DOUT Output High Voltage Output Low Voltage Output Capacitance Output Off-State Leakage Current IOZ VOH VOL IOH = -1.6mA IOL = 1.6mA (Note 8) -100 0.9 x VCC 0.4 10 +100 V V pF nA VIH VIL VHYS VIN = 0 to VCC (Note 8) -100 0.05 x VCC +100 10 2 0.8 V V V nA pF SYMBOL tRP VOL ILKG RESET asserted, IOL = 1.6mA, VBATT = 2V, VCC = 0 -100 CONDITIONS MIN 140 TYP 200 MAX 280 0.2 +100 UNITS ms V nA
MAX6916
AC ELECTRICAL CHARACTERISTICS
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Maximum-Input Rise Time Maximum-Input Fall Time Output Rise Time Output Fall Time SLCK Period SCLK High Time SCLK Low Time SCLK Fall to DOUT Valid DIN-to-SCLK Setup Time DIN-to-SCLK Hold Time SCLK Rise to CS Rise Hold Time CS High Pulse Width CS High-to-DOUT High Impedance CS to SCLK Setup Time BATTERY TEST TIMING (Figure 15) Battery Test to BATT_LO Active tBL (Note 8) 1 s SYMBOL tRIN tFIN tROUT tFOUT tCP tCH tCL tDO tDS tDH tCSH tCSW tCSZ tCSS 100 DIN, SCLK, CS DIN, SCLK, CS DOUT, CLOAD = 100pF DOUT, CLOAD = 100pF MAX6916EO30, MAX6916EO33 MAX6916EO50 MAX6916EO30, MAX6916EO33 MAX6916EO50 MAX6916EO30, MAX6916EO33 MAX6916EO50 CLOAD = 100pF 100 0 0 200 100 500 238 200 100 200 100 100 CONDITIONS MIN TYP 2 2 10 10 MAX UNITS s s ns ns ns ns ns ns ns ns ns ns ns ns SPI BUS TIMING (Figure 2 (Note 9))
_______________________________________________________________________________________
5
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
AC ELECTRICAL CHARACTERISTICS (continued)
(VCC = VCC(MIN) to VCC(MAX), TA = -40C to +85C, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Battery Test Cycle--Normal Battery Test Pulse Width SYMBOL tBTCN tBTPW (Note 8) (Note 8) CONDITIONS MIN TYP 24 1 MAX UNITS hr s
Note 1: VRST is the reset threshold for VCC. See the Ordering Information. Note 2: All parameters are 100% tested at TA = +85C. Limits over temperature are guaranteed by design and are not production tested. Note 3: The SPI serial interface is operational for VCC > VRST. Note 4: See the Detailed Description (VOUT function). Note 5: ICCS is specified with CS = VCC, SCLK = DIN = WDI = CE_IN = GND, DOUT, VOUT, CE_OUT, and MR floating. IBATT is specified with WDI = CE_IN = SCLK = DIN = GND, CS = VCC, DOUT, VOUT, CE_OUT, and MR floating. Note 6: ICCA is specified with SCLK = 4MHz for VCC = +5.5V and SCLK = 2MHz for VCC = +3.3V and +3.6V. DOUT = OPEN, CS = GND, DIN = VCC, CE_IN = VCC, VOUT and CE_OUT open, WDI = VCC or GND. Note 7: For OUT switchover to BATT, VCC must fall below VRST and VBATT. For OUT switchover to VCC, VCC must be above VRST or above VBATT. Note 8: Guaranteed by design. Not subject to production testing. Note 9: All values are referred to VIH(MIN) and VIL(MAX) levels.
Typical Operating Characteristics
(VCC = 3.3V, VBATT = 3V, TA = +25C, unless otherwise noted.)
VCC-TO-OUT VOLTAGE vs. TEMPERATURE
MAX6916 toc01
BATT-TO-OUT VOLTAGE vs. TEMPERATURE
9 BATT-TO-OUT VOLTAGE (mV) 8 7 6 5 4 3 2 1 VCC = 0V VBATT = 2V IOUT = 400A -40 -15 10 35 60 85 VCC = 0V VBATT = 3V IOUT = 800A
MAX6916 toc02
30.0 27.5 VCC-TO-OUT VOLTAGE (mV) 25.0 22.5 20.0 17.5 15.0 -40 -15 10 35 60 VCC = 3.3V VBATT = 0V IOUT = 35mA VCC = 3V VBATT = 0V IOUT = 35mA
10
0 85 TEMPERATURE (C) TEMPERATURE (C)
TIMEKEEPING CURRENT vs. TEMPERATURE
1.7 1.6 1.5 IBATT (A) 1.4 1.3 1.2 1.1 1.0 0.9 0.8 -40 -15 10 35 60 85 TEMPERATURE (C) SCLK = GND, DOUT = OPEN CS = VCC, DIN = GND CE_IN = GND XTAL FAIL ENABLED
MAX6916 toc03a
TIMEKEEPING CURRENT vs. TEMPERATURE
1.7 1.6 1.5 IBATT (A) 1.4 1.3 1.2 1.1 1.0 0.9 0.8 -40 -15 10 35 60 85 TEMPERATURE (C) SCLK = GND, DOUT = OPEN CS = VCC, DIN = GND CE_IN = GND XTAL FAIL DISABLED
MAX6916 toc03b
1.8
1.8
6
_______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Typical Operating Characteristics (continued)
(VCC = 3.3V, VBATT = 3V, TA = +25C, unless otherwise noted.)
RESET TIMEOUT PERIOD vs. TEMPERATURE
MAX6916 toc04
RESET COMPARATOR DELAY vs. VCC FALLING
MAX6916 toc05
RESET COMPARATOR DELAY vs. TEMPERATURE
45 RESET COMPARATOR DELAY (s) 40 35 30 25 20 15 10 VCC FALLING AT 10V/ms
MAX6916 toc06
240 230 220 210 200 190 180 -40 -15 10 35 60
1000
50
RESET TIMEOUT PERIOD (ms)
RESET DELAY (s)
100
10
1 85 0.1 1 10 VCC FALLING (V/ms) 100 1000 TEMPERATURE (C)
5 -40 -15 10 35 60 85 TEMPERATURE (C)
RESET THRESHOLD vs. TEMPERATURE (MAX6916EO33)
MAX6916 toc07
WATCHDOG TIMEOUT PERIOD vs. TEMPERATURE
MAX6916 toc08
MAXIMUM TRANSIENT DURATION vs. RESET COMPARATOR OVERDRIVE
MAXIMUM TRANSIENT DURATION (s) 90 80 70 60 50 40 30 20 100 150 200 250 300 350 400 450 500 OVERDRIVE (mV) RESET ASSERTS ABOVE THIS LINE
MAX6916 toc09
3.000
240 WD TIME BIT SET TO 1 WATCHDOG TIMEOUT PERIOD (ms) 230 220 210 200 190 180
100
2.975 RESET THRESHOLD (V)
RESET GOES HIGH ABOVE THIS THRESHOLD
2.950
2.925 RESET GOES LOW BELOW THIS THRESHOLD
2.900
2.875 -40 -15 10 35 60 85 TEMPERATURE (C)
-40
-15
10
35
60
85
TEMPERATURE (C)
CHIP-ENABLED PROPAGATION DELAY vs. CE_OUT LOAD CAPACITANCE (MAX6916EO33)
MAX6916 toc10
CHIP-ENABLED PROPAGATION DELAY vs. CE_OUT LOAD CAPACITANCE (MAX6916EO33)
MAX6916 toc111
ACTIVE SUPPLY CURRENT vs. SUPPLY VOLTAGE
0.375 0.350 0.325 0.300 ICCA (mA) 0.275 0.250 0.225 0.200 0.175 0.150 0.125 0.100 2.7 3.1 3.5 3.9 4.3 TA = +85C TA = -40C TA = +25C SCLK - 2MHz, DOUT = OPEN CS = GND, DIN = CE_IN = VCC XTAL FAIL ENABLED
MAX6919 toc12
8 CHIP-ENABLED PROPAGATION DELAY (ns) 7 6 5 4 3 2 1 0 0 VCC = 5V VCC = 3V RISING EDGE OF CE_IN TO RISING EDGE OF CE_OUT
8 CHIP-ENABLED PROPAGATION DELAY (ns) 7 6 5 4 VCC = 3.3V 3 2 1 0 0 VCC = 5V VCC = 3V FALLING EDGE OF CE_IN TO FALLING EDGE OF CE_OUT
0.400
VCC = 3.3V
10 20 30 40 50 60 70 80 90 100 LOAD CAPACITANCE (pF)
10 20 30 40 50 60 70 80 90 100 LOAD CAPACITANCE (pF)
4.7
5.1
5.5
SUPPLY VOLTAGE (V)
_______________________________________________________________________________________
7
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Typical Operating Characteristics (continued)
(VCC = 3.3V, VBATT = 3V, TA = +25C, unless otherwise noted.)
ACTIVE SUPPLY CURRENT vs. SUPPLY VOLTAGE
MAX6919 toc13
TIMEKEEPING CURRENT vs. SUPPLY VOLTAGE
MAX6916 toc14
TIMEKEEPING CURRENT vs. SUPPLY VOLTAGE
2.75 2.50 2.25 IBATT (mA) 2.00 1.75 1.50 1.25 1.00 TA = +85C TA = +25C TA = -40C SCLK = GND, DOUT = OPEN CS = VCC, DIN = GND CE_IN = GND XTAL FAIL DISABLED
MAX6919 toc15
0.400 0.375 0.350 0.325 0.300 ICCA (mA)
3.00 2.75 2.50 2.25 IBATT (mA) SCLK = GND, DOUT = OPEN CS = VCC, DIN = GND CE_IN = GND XTAL FAIL ENABLED
3.00
SCLK - 2MHz, DOUT = OPEN CS = GND, DIN = CE_IN = VCC XTAL FAIL DISABLED
0.275 0.250 0.225 0.200 0.175 0.150 0.125 0.100 2.7 3.1
TA = +85C TA = -40C TA = +25C
2.00 1.75 1.50 1.25 1.00 0.75 0.50 TA = -40C TA = +85C TA = +25C
0.75 0.50 4.5 5.0 5.5 2.0 2.5 3.0 3.5 4.0 VBATT (V) 4.5 5.0 5.5
3.5
3.9
4.3
4.7
5.1
5.5
2.0
2.5
3.0
SUPPLY VOLTAGE (V)
3.5 4.0 VBATT (V)
VCC TO VOUT DROP vs. OUTPUT CURRENT (NORMAL MODE)
MAX6916 toc16
VBATT TO VOUT DROP vs. OUTPUT CURRENT (BATTERY BACKUP MODE)
MAX6916 toc17
0.07 0.06 VCC TO VOUT DROP (V) 0.05 0.04 0.03 0.02 0.01 0 0 VCC = +2.7V VCC = +3.3V VCC = +5V
0.025
0.020 VBATT TO VOUT DROP (V) VBATT = +2V 0.015
0.010 VBATT = +5V 0.005 VBATT = +3.3V
0 10 20 30 40 50 60 70 80 90 100 OUTPUT CURRENT (mA) 0 0.4 0.8 1.2 1.6 2.0 2.4 OUTPUT CURRENT (mA)
8
_______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
Pin Description
PIN NAME FUNCTION Supply Output for External SRAM or Other ICs Requiring Use of Backup Battery Power. When VCC rises above the reset threshold or above VBATT, VOUT is connected to VCC. When VCC falls below VRESET and VBATT, VBATT is connected to VOUT. Connect a 0.1F low-leakage bypass capacitor from VOUT to GND. Leave open if not used. External Battery Test. Active high for 1s during each battery test. Intended to drive an external MOSFET or bipolar transistor for an external battery-test configuration. External test must be selected in the control register to use TEST; otherwise, it remains low. Leave open if not used. External Trip Set. If a different battery-low threshold is desired other than the internal POR default of VBTP, then connect RSET+ between VBATT and TRIP and RSET- between TRIP and the drain or collector of an external transistor whose base or gate is connected to TEST; see Figure 14 (see the Battery Test section). External test must be selected in the control register to use TRIP. Leave open if not used. Open-Drain, Battery-On Indicator. BATT_ON is active low when the MAX6916 is powered from VBATT. Chip-Enable Input. The input to the chip-enable gating circuitry. Connect CE_IN to GND if unused. Manual-Reset Input. A logic-low on MR asserts RESET. RESET remains asserted as long as MR is low and for tRP after MR returns high. The active-low MR input has an internal pullup resistor. MR can be driven from a TTL- or CMOS-logic line or shorted to ground with a switch. Internal debouncing circuitry ensures noise immunity. Leave MR open if unused. Watchdog Input. If WDI remains either high or low for longer than the watchdog timeout period, the internal watchdog timer runs out and RESET is asserted. The internal watchdog timer clears while RESET is asserted or when WDI sees a rising or falling edge. The watchdog function can be disabled from the control register. The timeout period is configurable in the control register for 200ms or 1.6s. Ground 32.768kHZ Crystal-Oscillator Input 32.768kHZ Crystal-Oscillator Output
MAX6916
1
VOUT
2
TEST
3
TRIP
4 5
BATT_ON CE_IN
6
MR
7
WDI
8 9 10
GND X1 X2
_______________________________________________________________________________________
9
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Pin Description (continued)
PIN 11 12 13 14 15 NAME DIN CS DOUT SCLK ALM SPI Serial Bus Data Input SPI Serial Bus Chip-Select Input. Drive CS low to initiate a data transfer. SPI Serial Bus Data Output SPI Serial Bus Clock Input Open-Drain, Active-Low Alarm Output. ALM goes low when RTC time matches alarm thresholds set in the alarm threshold registers. ALM stays low until cleared by reading or writing to the alarm configuration register or to any of the alarm threshold registers. Chip-Enable Output. CE_OUT goes low only when CE_IN is low and RESET is not asserted. If CE_IN is low when RESET is asserted, CE_OUT remains low for tRCE or until CE_IN goes high, whichever occurs first. CE_OUT is pulled to VOUT. Open-Drain, Battery-Low Indicator. BATT_LO is active low when the VBATT input is tested below VBTP if the internal trip is selected in the control register (POR default). If external trip is selected in the control register, then BATT_LO is active low when TRIP is less than VTRIP. Open-Drain, Active-Low Reset Output. RESET pulses low for tRP when triggered, and stays low whenever VCC is below the reset threshold or when MR is logic-low. RESET remains low for tRP after either VCC rises above the reset threshold or MR goes from low to high. Main Supply Input. Connect a 0.1F bypass capacitor from VCC to GND. Backup-Battery Input. When VCC falls below the reset threshold and VBATT, VOUT switches from VCC to VBATT. When VCC rises above VBATT or the reset threshold, VOUT reconnects to VCC. VBATT may exceed VCC. Connect VBATT to GND if no backup-battery supply is used. Connect a 0.1F low-leakage bypass capacitor from VBATT to GND. FUNCTION
16
CE_OUT
17
BATT_LO
18 19
RESET VCC
20
VBATT
Detailed Description
Functional Description
The MAX6916 contains eight 8-bit timekeeping registers, seven 8-bit alarm threshold registers, one status register, one control register, one alarm-configuration register, and 96 x 8 bits of SRAM. In addition to single-byte reads and writes to registers and RAM, there is a burst timekeeping register read/write command, a burst RAM read/write command, and a battery-test command that allows software-commanded testing of the backup battery at any time. An SPI-bus-compatible interface allows serial communication with a microprocessor. When VCC is less than the reset threshold, the serial interface is disabled to prevent erroneous data from being written to the MAX6916. A microprocessor supervisory section and an NVRAM controller are provided for ease of implementation with microprocessor-based systems. A crystal-fail-detect circuit and a data-valid bit can be used to guarantee RAM data integrity and valid timekeeping data. Time and calendar data are stored in a binary-coded decimal (BCD) format. Figure 1 shows the functional diagram of the MAX6916.
10
Real-Time Clock
The RTC provides seconds, minutes, hours, day, date, month, and year information. The end of the months is automatically adjusted for months with fewer than 31 days, including corrections for leap years through 2099.
Crystal Oscillator
The MAX6916 uses an external, standard 6pF load watch crystal. No other external components are required for this timekeeping oscillator. Power-up oscillator start time is dependent mainly upon applied VCC and ambient temperature. The MAX6916, because of its low timekeeping current, exhibits a typical startup time of 1s to 2s.
SPI-Compatible Interface
Interface the MAX6916 to a microcontroller using a 4-wire, serial peripheral interface (SPI). The SPI is a synchronous bus for address and data transfer and is used when interfacing with Motorola and other microcontrollers with an SPI port. Four connections are required for the interface: DOUT (serial data out), DIN (serial data in), SCLK (serial clock), and CS (chip select). The MAX6916 acts as a slave device and the
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
WDI WATCHDOG TIMER
MAX6916
MR DEBOUNCE CIRCUIT RESET LOGIC
RESET
CRYSTALFAIL DETECT
XTAL FAIL
X1 X2 CE_IN
OSCILLATOR 32.768kHz
DIVIDERS CE CONTROL
CE_OUT
SECONDS MINUTES TEST TRIP GND VBATT VOUT VCC BATT_LO BATT_ON POWER CONTROL AND MONITOR CONTROL LOGIC DATE MONTH DAY YEAR CONTROL CENTURY SCLK CS DIN DOUT INPUTSHIFT REGISTERS ADDRESS REGISTER ALARM CONFIG BATT TEST STATUS 96 x 8 RAM DATA VALID LOGIC CONFIG ALARM THRESHOLDS CLOCK BURST RAM BURST HOURS
ALM
ALARM CONTROL LOGIC
Figure 1. Functional Diagram ______________________________________________________________________________________ 11
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
CS tCSH
tCSS SCLK tCL tDH tDS DIN D7 D6
tCH
tCP
tCSW
D5
D0 tCSZ
DOUT
D7 tDO
D0
Figure 2. SPI Bus Timing Diagram
microcontroller acts as the master in an SPI application. CS is asserted low by the microcontroller to initiate a transfer and deasserted high to terminate a transfer. DIN transfers input data to the MAX6916 from the microcontroller, and DOUT transfers output data from the MAX6916 to the microcontroller. SCLK is used to synchronize data movement between the microcontroller and the MAX6916. SCLK, which is generated by the microcontroller, is active only during address and data transfer to any device on the SPI bus. The inactive clock polarity is usually programmable on the microcontroller side of the SPI interface. For the MAX6916, input data (DIN) is latched on the positive edge and output data (DOUT) is shifted out on the negative edge. There is one clock for each bit transferred. Address and data bits are transferred in groups of eight. Figure 2 shows an SPI bus timing diagram. The SPI protocol allows for one of four combinations of serial clock phase and polarity from the microcontroller, through a 2-bit selection in its SPI control register. The clock polarity is specified by the CPOL control bit, which selects active-high or active-low clock, and has no significant effect on the transfer format. The clockphase control bit, CPHA, selects one of two different transfer formats. The clock phase and polarity must be identical for the master and the slave. For the MAX6916, set the control bits to CPHA = 1 and CPOL = 1. This setting configures the system for data to be launched on the negative edge of SCLK and sampled on the positive edge. With CPHA equal to 1, CS can remain low between successive data byte transfers, allowing burst-mode data transfers to occur.
Address and data bytes are shifted, most significant bit (MSB) first, into the serial data input DIN of the MAX6916 and out of the serial data output DOUT. Data is shifted out at the negative edge of SCLK and shifted in or sampled at the positive edge of SCLK. Any transfer requires the address of the byte to be followed by 1 or more bytes of data. Data is transferred out of DOUT for a read operation and into DIN for a write operation. When not transferring data out, DOUT is put into a highimpedance state (Figure 2). To maximize battery life and prevent erroneous data from being entered into the MAX6916, the serial bus interface is disabled when VCC is below VRST or when RESET is active. In order to initiate SPI communications with the MAX6916, CS needs to be driven low, after which an address/command byte must be input. The address/command byte specifies the register to or from which information is to be transferred, as well as the nature of the transfer (read or write). After the address/command byte, 1 or more data bytes can be written or read. For a single-byte transfer, 1 byte is written or read and then CS is driven high by the microcontroller (Figures 3 and 5). For a multiple-byte transfer, however, multiple bytes can be read or written to the MAX6916 after the address/command byte has been written (Figures 4 and 6). In the case of burst operation, each read or write cycle causes the RTC register or RAM address to automatically increment. Incrementing continues (maximum value is 96 for RAM and 8 for register bank) until SPI transmission is terminated. To terminate the SPI transmission, drive CS high.
12
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
Address/Command Byte Each data transfer into or out of the MAX6916 is initiated by an address/command byte. The address/command byte specifies which registers are to be accessed, and if the access is a read or write. The address command byte is input MSB (bit 7) first. Bit 7
SINGLE WRITE CS
determines if a read (logic 1) or write (logic 0) takes place. Data transfers can occur 1 byte at a time or in multiple-byte burst mode. Bits 6-0 specify the designated register or RAM location to be read or written to. Figures 3, 4, 5, and 6 show the different transfer operations that can take place with the MAX6916.
MAX6916
SCLK
DIN
0
A6
A5
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
ADDRESS/COMMAND BYTE DOUT DOUT IS HIGH IMPEDANCE; THERE IS NO ACTIVITY ON DOUT DURING WRITES
DATA BYTE
Figure 3. SPI Interface Single Write
BURST WRITE CS
SCLK
DIN
0
A6
A5
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
ADDRESS/COMMAND BYTE DOUT
DATA BYTE 1
DATA BYTE N
DOUT IS HIGH IMPEDANCE; THERE IS NO ACTIVITY ON DOUT DURING WRITES
Figure 4. SPI Interface Multiple/Burst Write
SINGLE READ CS
SCLK
DIN
1
A6
A5
A4
A3
A2
A1
A0
ADDRESS/COMMAND BYTE DOUT D7 D6 D5 D4 D3 DATA BYTE D2 D1 D0
DOUT IS HIGH IMPEDANCE
Figure 5. SPI Interface Single Read ______________________________________________________________________________________ 13
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
BURST READ CS
SCLK
DIN
1
A6
A5
A4
A3
A2
A1
A0
ADDRESS/COMMAND BYTE DOUT D7 D6 D5 D4 D3 D2 D1 D0
DOUT IS HIGH IMPEDANCE
D7
D6
D5
D4
D3
D2
D1
D0
DATA BYTE 1
DATA BYTE N
Figure 6. SPI Interface Multiple/Burst Read
Chip Select (CS) CS serves two functions. First, CS turns on the control logic that allows access to the shift register for address/command and data transfer. Second, CS provides a method of terminating either single-byte or multiple-byte data transfers. All data transfers are initiated by driving CS low. If CS is high, then DOUT is high impedance. Serial Clock (SCLK) A clock cycle on SCLK consists of a rising edge followed by a falling edge. For data input, data must be valid at DIN before the rising edge of the clock. For data outputs, bits are valid on DOUT after the falling edge of the clock. Reading from the Timekeeping Registers The timekeeping registers (seconds, minutes, hours, date, month, day, and year) and the control register can be read either with a single read (Figure 5) or a burst read (Figure 6). Since the RTC runs continuously and a read takes a finite amount of time, there is the possibility that the clock counters could change during a read operation, thereby reporting inaccurate timekeeping data. In the MAX6916, each clock counter's data is buffered by a latch. Clock counter data is latched by the SPI bus read command (on the falling edge of SCLK after the address/command byte has been sent by the master to read a timekeeping register). Collision-detection circuitry ensures that this does not happen coincident with a seconds counter update to ensure accurate time data is being read. This avoids time-data changes during a read operation. The clock counters continue to count and keep accurate time during the read operation.
If single reads are used to read each of the timekeeping registers individually, then it is necessary to do some error checking on the receiving end. An error can occur when the seconds counter increments before all the other registers are read out. For example, suppose a carry of 13:59:59 to 14:00:00 occurs during singleread operations of the timekeeping registers. Then the net data could become 14:59:59, which is erroneous real-time data. To prevent this with single-read operations, read the seconds register first (initial seconds) and store this value for future comparison. When the remaining timekeeping registers have been read out, read the seconds register again (final seconds). If the initial seconds value is 59, check that the final-seconds value is still 59; if not, repeat the entire single-read process for the timekeeping registers. A comparison of the initial-seconds value with the final-seconds value can indicate if there was a bus-delay problem in reading the timekeeping data (difference should always be 1s or less). Using a 2MHz bus speed, and sequential single reads, it would take under 75s to read all seven of the timekeeping registers plus a second read of the seconds register. The most accurate way to read the timekeeping registers is to perform a burst read. With burst reads, the main timekeeping registers (seconds, minutes, hours, date, month, day, year) and the control register are read sequentially, in the order listed with the seconds register first. They must be all read out as a group of eight registers, with 8 bytes each, for proper execution of the burst-read function. All seven timekeeping registers are latched upon the receipt of the burst-read command. Worst-case error that can occur between the actual time and the read time is 1s.
14
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
Writing to the Timekeeping Registers The time and date can be set by writing to the timekeeping registers (seconds, minutes, hours, date, month, day, year, and century). To avoid changing the current time by an incomplete write operation, the current time value is buffered from being written directly to the clock counters. The new data sent replaces the current contents of this input buffer. This time update data is loaded into the clock counters at the rising edge of CS, which indicates the end of the SPI bus write operation. Collision-detection circuitry ensures that this does not happen coincident with a seconds-counter update to guarantee that accurate time data is being written. This avoids time data changes during a write operation. An incomplete write operation aborts the time-update procedures and the contents of the input buffer are discarded. The clock counter is reset immediately after a write to the seconds register or a burst write to the timekeeping registers. This process ensures that 1s clock tick is synchronous to timekeeping writes. If single-write operations (Figure 3) are used to write to each of the timekeeping registers, then error checking is needed. If the seconds register is the one to be updated, update it first and then read it back and store its value as the initial seconds. Update the remaining timekeeping registers and then read the seconds register again (final seconds). If initial seconds was 59, ensure it is still 59. If initial seconds was not 59, ensure that final seconds is within 1s of initial seconds. If the seconds register is not to be written to, then read the seconds register first and save it as initial seconds. Write to the required timekeeping registers and then read the seconds register again (final seconds). If initial seconds was 59, ensure it is still 59. If initial seconds was not 59, ensure that final seconds is within 1s of initial seconds. Although both single writes and burst writes are possible, the most accurate way to write to the timekeeping counters is to do a burst write (Figure 4). In the burst write, the main timekeeping registers (seconds, minutes, hours, date, month, day, year) and the control register are written sequentially. They must be all written to as a group of eight registers, with 8 bytes each, for proper execution of the burst-write function. All seven timekeeping registers and the control register are simultaneously loaded into the clock counters at the rising edge of CS, at the end of the SPI bus write operation. The worst-case error that can occur between the actual time and the write time update is 1s. To avoid rollover issues when writing time data to the MAX6916, the remaining time and date registers must be written within 1s of updating the seconds register when using single writes. For burst writes, all eight registers must be written within this period (1s). The weekday data in the day register increments at midnight. Values that correspond to the day of week are user defined, but must be sequential (i.e., if 1 equals Sunday, then 2 equals Monday, and so on). If invalid values are written to the timekeeping registers, operation becomes undefined.
MAX6916
Registers
Tables 1 and 2 show the register map, as well as the register descriptions for the MAX6916. Control Register The control register contains bits for configuring the MAX6916 for custom applications. Bit D0 (BATT ON BLINK) and D1 (BATT LO BLINK) are used to enable a 1Hz blink rate on BATT_ON and BATT_LO when they are active; see the Battery Test section for details. D2 (WD TIME) and D3 (WD EN) are used to enable the watchdog function and select its timeout. For details, see the Watchdog Input section. D5 (INT/EXT TEST) sets whether the internal resistor ratio or an external resistor ratio is to be used to check for the low-battery condition; see the Battery Test section for details. D6 (XTAL EN) enables the crystal-fail-detect circuitry when set. See the Crystal-Fail Detect section for details. D7 (WP) is the write-protect bit. Before any write operation to the registers (except the control register) or RAM, bit 7 must be zero. When set to one, the write-protect bit prevents write operations to any register (except the control register) or RAM locations. Timekeeping and Alarm Thresholds Registers Time and date data is stored in the timekeeping and alarm threshold registers in BCD format as shown in Table 1. The weekday data in the day register is user defined (a common format is 1 = Sunday, 2 = Monday, etc.). AM-PM/12-24 Mode For both timekeeping and alarm threshold registers (Table 1), D7 of the hours register is defined as the 12hr or 24hr mode-select bit. When set to one, the 12hr mode is selected. In the 12hr mode, D5 is the AM/PM bit with logic one being PM. In the 24hr mode, D5 is the second 10hr bit (20hr to 23hr).
______________________________________________________________________________________
15
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Table 1. Register Map
REGISTER ADDRESS FUNCTION CLOCK BURST A7 R W R W R W R W A6 0 A5 0 A4 0 A3 0 A2 0 A1 0 A0 0 VALUE D7 D6 REGISTER FUNCTION D5 D4 D3 D2 D1 D0
SEC
0-59 0 0 0 0 0 0 1 POR STATE 0-59 0 0 0 0 0 1 0 POR STATE
0 0 0 0 0 0
10 SEC 0 10 MIN 0 10 HR 0 0
1 SEC 0 0 0
MIN
0
0
1 MIN 0 0
0
HR
0
0
0
0
0
1
1
00-23 12/24 01-12 POR STATE 01-28/29 01-30/31 POR STATE 01-12 POR STATE 01-07 POR STATE 00-99 POR STATE 0 0 0
AM/ PM 0
10 HR 0 0 0
1 HR 0 0
DATE
R W R W R W R W R W
0
0
0
0
1
0
0
0 0 0 0 0 0
0 0 0 0 0 0 10 YEAR
10 DATE 0 0 0 0 0 0 10 M 0 0 0 0 0 0 0
1 DATE 0 0 1
MONTH
0
0
0
0
1
0
1
1 MONTH 0 0 WEEKDAY 0 1 YEAR 0 1 1
DAY
0
0
0
0
1
1
0
YEAR
0
0
0
0
1
1
1
0
1
1 INT/ EXT TEST 0
1
0
0
0
0
CONTROL
0
0
0
1
0
0
0
WP POR STATE 0
XTAL EN 1
0 0
WD EN 1
BATT BATT WD LO ON TIME BLINK BLINK 0 100 YEAR 0 0
CENTURY
R W
0
0
0
1
0
0
1
00-99 POR STATE
1000 YEAR 0 0 0 1 1
0
0
1
0
0
0
1
0
1
0
W POR STATE
ONE SEC 0
YEAR 0
DAY 0
MONTH
ALARM CONFIGURATION
R
DATE 0
HR 0
MIN 0
SEC 0
0
DATA VALID
STATUS
R W
0
0
0
1
1
0
0
XTAL FAIL POR STATE 0
BATT LO 0
ALM OUT 0
0 0
0 0
0 0
0 0
0
POR STATE DEFINES THE POWER-ON RESET STATE OF THE REGISTER
16
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Table 1. Register Map (continued)
REGISTER ADDRESS FUNCTION BATT TEST ALARM THRESHOLDS: SEC R W R W R W 0-59 0 0 0 1 1 1 0 POR STATE 0-59 0 0 0 1 1 1 1 POR STATE 0 0 0 0 1 1 A7 0 A6 0 A5 0 A4 0 A3 1 A2 1 A1 0 A0 1 VALUE D7 D6
REGISTER FUNCTION D5 D4 D3 D2 D1 D0
10 SEC 1 10 MIN 1 10 HR
1
1
1 SEC 1 1 1 MIN
1
MIN
1
1
1
1
1
HR
0
0
1
0
0
0
0
00-23 01-12 POR STATE 01-28/29 01-30/31 POR STATE 01-12 POR STATE 01-07 POR STATE 00-99 POR STATE 12/24 1 0 0
AM/ PM 1
10 HR 1 1 1
1 HR 1 1
DATE
R W R W R W R W
0
0
1
0
0
0
1
0 0 0 0 0 0
0 0 0 0 0 0 10 YEAR
10 DATE 1 1 0 0 0 0 10 M 1 0 0
1
1 DATE 1 1 1 MONTH
1
MONTH
0
0
1
0
0
1
0
1 0 0
1
1 WEEKDAY
1
DAY
0
0
1
0
0
1
1
1 1 YEAR
1
1
YEAR TEST CONFIGURATION (FACTORY RESERVED) RAM REGISTERS: RAM 0
0
0
1
0
1
0
0
1
1
1
1
1
1
1
1
R W
0
0
1
0
1
0
1
POR STATE
0
0
0
0
0
0
0
0
R W
0
0
1
1
1
1
1
RAM DATA 0 00h-FFh
X
X
X
X
X
X
X
X
RAM 95
R W
1
1
1
1
1
1
0
RAM DATA 95 00h-FFh
X
X
X
X
X
X
X
X
RAM BURST
R W
1
1
1
1
1
1
1
POR STATE DEFINES THE POWER-ON RESET STATE OF THE REGISTER
______________________________________________________________________________________
17
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
Clock-Burst Mode Addressing the clock-burst register specifies burstmode operation. In this mode, the first eight clock/calendar registers (seven timekeeping and the control register) can be consecutively read or written to by using the address/command byte 00h for a write or 80h for a read (Table 1). If the write-protect bit is set to one when a write-clock/calendar-burst mode is specified, no data transfer occurs to any of the seven timekeeping registers or the control register. When writing to the clock/calendar registers in the burst mode, the first eight registers must be written to for the data to be transferred; see Table 2. RAM The static RAM consists of 96 x 8 bits addressed consecutively in the RAM address/command space. Address/commands (1Fh to 7Eh) are used for RAM writes and address/commands (9Fh to FEh) are used for RAM reads (Table 2). RAM-Burst Mode Sending the RAM burst address/command (7Fh for write, FFh for read) specifies burst-mode operation. In this mode, the 96 RAM locations can be consecutively read or written to starting with bit 7 of address/command 1Fh for writes, and 9Fh for reads. A burst read outputs all 96 bytes of RAM. When writing to RAM in burst mode, it is not necessary to write all 96 bytes for the data to transfer; each complete byte written is transferred to the RAM. When reading from RAM, data is output until all 96 bytes have been read, or until the CS is driven high. Status Register The status register contains individual bits for monitoring the status of several functions of the MAX6916. Bits D0-D3 are unused and always read zero (Table 1). D4 (ALM OUT) reflects the state of the alarm function; see the Alarm Function section for details. D5 (BATT LO) indicates the state of the battery connected to VBATT; see the Battery Test section for more information. D6 (DATA VALID) alerts the user if all power was lost. See the Data Valid Bit section for details. D7 (XTAL FAIL) is the output of the crystal-fail detect circuit. See the Crystal-Fail Detect section for details.
MAX6916
MAX6916. If VCC falls below the reset threshold, VRST, and is more than VTRU, VCC still powers the MAX6916. The VCC slew rate in power-down is limited to 10V/ms (max) for proper data retention.
VOUT Function
VOUT is an output supply voltage for battery-backed-up devices such as SRAM. When V CC rises above the reset threshold or is greater than VBATT, VOUT connects to VCC (Figure 16). When V CC falls below V RST and V BATT , V OUT connects to V BATT . There is a typical 100mV hysteresis associated with the switching between VCC and VBATT on the VOUT output. Connect a 0.1F capacitor from VOUT to GND.
Power-On Reset (POR)
The MAX6916 contains an integral POR circuit that ensures all registers are reset to a known state on powerup. Once either VCC or VBATT rises above 1.6V (typ), the POR circuit releases the registers for normal operation. When VCC or VBATT drops to less than 0.9V (typ), the MAX6916 resets all register contents to the POR defaults.
Oscillator Start Time
The MAX6916 oscillator typically takes 1s to 2s to begin oscillating. To ensure the oscillator is operating correctly, the system software should validate proper timekeeping. This validation is accomplished by reading the seconds register. Any reading with more than 0s, from the POR value of 0s, is a validation of proper startup.
Alarm-Generation Function
The alarm function is configured using the alarm-configuration register and the alarm-threshold registers (Tables 1 and 2). Writing a one to D7 (ONE SEC) in the alarm-configuration register sets the alarm function to occur once every second, regardless of any other setting in the alarm-configuration register or in any of the alarm-threshold registers. When the alarm is triggered, D4 (ALM OUT) in the status register is set to one and the open-drain alarm output ALM goes low. The alarm is cleared by reading or writing to the alarm-configuration register or by reading or writing to any of the alarmthreshold registers. This process resets the ALM output to a high and the ALM OUT bit to zero. When D7 (ONE SEC) is set to zero in the alarm-configuration register, then the alarm function is set by the remaining bits in the alarm-configuration register and the contents of the respective alarm-threshold register. For example, writing 01h (0000 0001) to the alarm-configuration register causes the alarm to trigger every time the seconds-timekeeping register matches the seconds alarm-threshold register (i.e., once every minute on a specific second). Writing 02h (0000 0010) to the alarm-configuration register causes the alarm to
Power Control
VBATT provides power as a battery backup. VCC provides the primary power in dual-supply systems where VBATT is connected as a backup source to maintain timekeeping in the absence of primary power. When VCC rises above the reset threshold, VRST, VCC powers the MAX6916. When VCC falls below the reset threshold, VRST, and is less than VTRD, VBATT powers the
18
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Table 2. Hex Register Address and Description
WRITE ADDRESS/COMMAND (HEX) 00 01 02 03 04 05 06 07 08 09 0A 0C 0D 0E 0F 10 11 12 13 14 15 1F 20 21 22 23 * * * 7A 7B 7C 7D 7E 7F READ ADDRESS/COMMAND (HEX) 80 81 82 83 84 85 86 87 88 89 8A 8C N/A 8E 8F 90 91 92 93 94 95 9F A0 A1 A2 A3 * * * FA FB FC FD FE FF DESCRIPTION Clock burst Seconds Minutes Hour Date Month Day Year Control Century Alarm configuration Status Battery test Seconds alarm threshold Minutes alarm threshold Hours alarm threshold Date alarm threshold Month alarm threshold Day alarm threshold Year alarm threshold Test configuration RAM 0 RAM 1 RAM 2 RAM 3 RAM 4 * * * RAM 91 RAM 92 RAM 93 RAM 94 RAM 95 RAM BURST POR SETTING (HEX) N/A 00 00 00 01 01 01 70 48 19 00 00 N/A 7F 7F BF 3F 1F 07 FF 00 Indeterminate Indeterminate Indeterminate Indeterminate Indeterminate * * * Indeterminate Indeterminate Indeterminate Indeterminate Indeterminate N/A
trigger on a minutes match (i.e., once every hour). Writing a 4Fh (0100 1111) to the alarm configuration register causes the alarm to be triggered on a specific
second, of a specific minute, of a specific hour, of a specific date, of a specific year. When setting the alarm-threshold registers, ensure that
19
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
both the hour-timekeeping register and the hour-alarmthreshold register are using the same hour format (either 12hr or 24hr format). The alarm function as well as the ALM output are operational in both VCC and battery-backup mode.
MR CE OUT tRCE tRP
Crystal-Fail Detect
The crystal-fail detect circuit looks for a loss of oscillation from the 32.768kHz oscillator for 30 cycles (typ) or more. Both the control register and the status register are used in the crystal-failure detection scheme (Table 1). The crystal-fail detect circuit sets the XTAL FAIL bit in the status register to one for a crystal failure and to zero for normal operation. Once the status register is read, the XTAL FAIL bit is reset to zero, if it was previously one. If the crystal-fail-detect circuit continues to sense a failed crystal, then the XTAL FAIL bit is set again. On initial power-up, the crystal-fail detect circuit is enabled. Since it takes a while for the low-power, 32.768kHz oscillator to start, the XTAL FAIL bit in the status register can be set to one, indicating a crystal failure. The XTAL FAIL bit should be polled a number of times to see if it is set to zero for successive polls. If the polling is far enough apart, a few polled results could guarantee that a maximum of 10s had elapsed since power-on, at which time the oscillator would be considered truly failed if the XTAL FAIL bit remains one. On subsequent power-ups, when XTAL EN is set to one, if XTAL FAIL is set to one, time data should be considered suspect. The crystal-fail-detection circuit functions in both VCC and VBATT modes when the XTAL EN bit is set in the control register.
tRP RESET
CE IN
Figure 7. Manual Reset Timing Diagram
inactive high. This condition occurs at either power-up or after a VCC brownout. The RESET output is also activated when the watchdog interrupt function is enabled but no transition is detected on the WDI input. In this case, RESET is active for the period tRP before becoming inactive again. When RESET is active, all inputs--WDI, MR, CE_IN, DIN, CS, and SCLK--are disabled. DOUT is also disabled. The MAX6916EO30 is optimized to monitor 3.0V 10% power supplies. Except when MR is asserted, RESET is not active until VCC falls below 2.7V (3.0V - 10%), but is guaranteed to occur before the power supply falls below 2.5V (3.0V - 15%). The MAX6916EO33 is optimized to monitor 3.3V 10% power supplies. Except when MR is asserted, RESET is not active until VCC falls below 3.0V (3.0V is just above 3.3V - 10%), but is guaranteed to occur before the power supply falls below 2.8V (3.3V - 15%). The MAX6916EO50 is optimized to monitor 5.0V 10% power supplies. Except when MR is asserted, RESET is not active until VCC falls below 4.5V (5.0V - 10%), but is guaranteed to occur before the power supply falls below 4.2V (4.2V is just below 5.0V - 15%).
Manual Reset Input
A logic-low on MR asserts RESET. RESET remains asserted while MR is low, and for tRP after it returns high (Figure 7). MR has an internal pullup resistor, so it can be left open if it is not used. Internal debounce circuitry requires a minimum low time on the MR input of 1s with 35ns maximum glitch immunity.
Negative-Going VCC Transients
The MAX6916 is relatively immune to short-duration negative transients (glitches) while issuing resets to the P during power-up, power-down, and brownout conditions. Therefore, resetting the P when V CC experiences only small glitches is usually not recommended. Typically, a VCC transient that goes 150mV below the reset threshold and lasts for 50s or less does not cause a reset pulse to be issued. A 0.1F capacitor mounted close to the VCC pin provides additional transient immunity.
Reset Output
A microprocessor's (P's) reset input starts the P in a known state. The MAX6916's P supervisory circuit asserts a reset to prevent code-execution errors during power-up, power-down, and brownout conditions. The RESET output is guaranteed to be active for 0V < VCC < VRST, provided VBATT is greater than VBATT (min). If VCC drops below and then exceeds the reset threshold, an internal timer keeps RESET active for the reset timeout period tRP; after this interval, RESET becomes
20
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
BUFFER VCC VRST VCC VCC P VCC tRP RESET RESET WDI GND GND tWD tWD tRP
MAX6916
4.7k RESET
WD EN AND WD TIME ARE SET TO ZERO AND THE WATCHDOG FUNCTION IS DISABLED.
Figure 8. Interfacing to P with Bidirectional Reset I/O
Figure 9. Watchdog Timing Diagram
Interfacing to Microprocessors with Bidirectional Reset Pins
Microprocessors with bidirectional reset pins, such as the Motorola 68HC11 series, can contend with the MAX6916 RESET output. If, for example, the RESET output is driven high and the P wants to pull it low, indeterminate logic levels can result. To correct this, connect a 4.7k resistor between the RESET output and the P reset I/O as shown in Figure 8. Buffer the RESET output to other system components.
Battery-On Output
The battery-on output, BATT_ON, is an open-drain output that indicates when the MAX6916 is powered from the backup-battery input, VBATT. When VCC falls below the reset threshold, V RST , and below V BATT , V OUT switches from VCC to VBATT and BATT_ON becomes low. When VCC rises above the reset threshold, VRST, VOUT reconnects to VCC and BATT_ON becomes high (open-drain output with pullup resistor). If desired, the BATT_ON output can be register selected, through the BATT ON BLINK bit in the control register, to toggle on and off (0.5s on, 0.5s off) when active. The POR default is logic zero for no blink.
WDI can detect pulses as short as tWDI. Data bit D2 in the control register controls the selection of the watchdog-timeout period. The power-up default is 1.6s (D2 = 0). A reset condition returns the timeout to 1.6s (D2 = 0). If D2 is set to one, then the watchdog-timeout period is changed to 200ms. Data bit D3 in the control register is the watchdog-enable function. A logic zero disables the watchdog function, while a logic one enables it. The POR state of WD EN is logic one, or the watchdog function is enabled. Disable the watchdog function by writing a zero to the WD EN bit in the control register, within the 1.6s POR default timeout after power-up. WDI does not include a pulldown or pullup feature. For this reason, WDI should not be left floating. When the WD EN bit in the control register is set to zero, WDI should be connected to VCC or GND. WDI is disabled and does not draw cross-conduction current when VCC falls below VRST.
Watchdog Software Considerations
There is a way to help the watchdog-timer monitor software execution more closely, which involves setting and resetting the watchdog input at different points in the program rather than "pulsing" the watchdog input. This technique avoids a "stuck" loop, in which the watchdog timer would continue to be reset within the loop, keeping the watchdog from timing out. Figure 10 shows an example of a flow diagram where the I/O driving the watchdog input is set high at the beginning of the program, set low at the beginning of every subroutine or loop, then set high again when the program returns to the beginning. If the program should "hang" in any subroutine, the problem would quickly be corrected since the I/O is continually set low and the watchdog timer is allowed to time out, causing a reset to be issued.
21
Watchdog Input
The watchdog circuit monitors the P's activity. If the P does not toggle the watchdog input (WDI) within the register-selectable watchdog-timeout period, RESET is asserted for tRP. At the same time, the WD EN and WD TIME bits in the control register (Table 1) are reset to zero and can only be set again by writing the appropriate command to the control register. Thus, once a RESET is asserted due to a watchdog timeout, the watchdog function is disabled (Figure 9).
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
START
MAX6916
SET WDI HIGH PROGRAM CODE
VOUT CHIP-ENABLE OUTPUT CONTROL
SUBROUTINE OF PROGRAM LOOP SET WDI LOW
RESET GENERATOR CE_IN CE_OUT
RETURN
Figure 10. Watchdog Flow Diagram
Figure 11. Chip-Enable Gating
Chip-Enable Gating
Internal gating of chip-enable (CE) signals prevents erroneous data from corrupting external SRAM in the event of an undervoltage condition. The MAX6916 uses a transmission gate from CE_IN to CE_OUT (Figure 11). During normal operation (RESET inactive), the transmission gate is enabled and passes all CE transitions. When reset is asserted, this path becomes disabled, preventing erroneous data from corrupting the external SRAM. The short CE propagation delay from CE_IN to CE_OUT enables the MAX6916 to be used with most microprocessors. If CE_IN is low when reset asserts, CE_OUT remains low for tRCE to permit completion of the current write cycle.
The propagation delay through the CE transmission gate depends on VCC, the source impedance of the driver connected to CE_IN, and the loading on CE_OUT (see the Chip-Enable Propagation Delay vs. CE_OUT Load Capacitance graph in the Typical Operating Characteristics). For minimum propagation delay, the capacitive load at CE_OUT should be minimized, and a low-output-impedance driver should be used on CE_IN (Figure 12).
VCC VCC
BATT 3.6V
Chip-Enable Input
The CE transmission gate is disabled and CE_IN is high impedance (disabled mode) while RESET is active. During a power-down sequence when V CC passes the reset threshold, the CE transmission gate disables and CE_IN immediately becomes high impedance if the voltage at CE_IN is high. If CE_IN is low when RESET becomes active, the CE transmission gate disables at the moment CE_IN goes high or tRCE after RESET is active, whichever occurs first (see the ChipEnable Timing section). This condition permits the current write cycle to complete during power-down. The CE transmission gate remains disabled and CE_IN remains high impedance (regardless of CE_IN activity) for most of the reset-timeout period (tRST) any time a RESET is generated. When the CE transmission gate is enabled, the impedance of CE_IN appears as a 46 (typ) load in series with the load at CE_OUT.
22
25 EQUIVALENT SOURCE IMPEDANCE 50 50 CABLE 50
MAX6916
CE_IN
CE_OUT CL 10pF
GND
CL INCLUDES LOAD CAPACITANCE AND SCOPE PROBE CAPACITANCE
Figure 12. Propagation Delay Test Circuit
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
VRST VRST
2.0V VCC tRPD tRP
RESET
tRP CE_OUT VBATT
VCC tRCE
tCED
CE_IN
Figure 13. Chip-Enable Timing Diagram
Chip-Enable Output
When the CE transmission gate is enabled, the impedance seen at CE_OUT is equivalent to a 46 (typ) resistor in series with the source driving CE_IN. In the disabled mode, the transmission gate is off and an active pullup connects CE_OUT to VOUT (see Figures 11 and 13). This pullup turns off when the transmission gate is enabled.
operation from the backup power supply is still valid (i.e., the backup power supply did not drop out). A one indicates valid data, and a zero indicates corrupted data. Any time the internal supply to the MAX6916 (either VBATT or VCC depending upon the operating conditions) drops below 1.5V to 1.6V (typ), the DATA VALID bit is set to zero even if it has recently been set by a read of the status register.
Test Configuration Register
This is a read-only register.
Battery Test
Battery-Test Normal Operation In normal operation, the battery-test circuitry uses the control register POR settings of INT/EXT TEST, which is set to logic-low as default (Table 1). In this mode, all battery-test load resistors and threshold settings are internal. When VCC rises above VRST, the MAX6916 automatically performs one power-on battery monitor test. Additionally, a battery check is performed every time that a reset is issued, either from a manual reset or from a watchdog timeout. After that, periodic battery voltage monitoring at the factory-programmed time interval of 24hr begins while VCC is applied.
Data Valid Bit
DATA VALID has a POR setting of zero, indicating that the data in the MAX6916 RTC is not guaranteed to be valid (Table 1). A read of the status register sets the DATA VALID bit to one, indicating valid data in the MAX6916 RTC. In a system that uses a backup power supply, the DATA VALID bit should be set to one by the system software on first system power-up by reading the status register. After that, any time the system recovers from a reset condition caused by VCC < VRST, the DATA VALID bit can be read to see if the data stored during
______________________________________________________________________________________
23
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
VBATT VCC BATT_LO 1.24V RSET+_INT 480k TRIP INT/EXT TEST = 0 RSET-_EXT TEST (5mA) VOUT RSET-_INT 430k BATT TEST INT/EXT TEST BATT_LO CONTROL LOGIC
RSET+_EXT RLOAD_EXT (OPTIONAL)
QEXT
MAX6916
Figure 14. MAX6916 Battery Load and Test Circuit
After each 24hr period (t BTCN ) has elapsed, the MAX6916 connects VBATT to an internal 0.91M (typ) test resistor (R SET+_INT + R SET-_INT) for 1s (t BTPW) (Figure 14). During this 1s, if VBATT falls below the factory-programmed battery trip point V BTP, the opendrain, battery-low output, BATT_LO, is asserted active low and the BATT LO bit in the status register is set to one. The BATT LO output can be register selected to toggle at a 1Hz rate (0.5s on, 0.5s off) when active. Once BATT LO is active, the 24hr tests stop until a fresh battery is inserted and BATT LO is cleared by writing any data to the battery test register at address 0x0D (Figure 15). Writing to this register performs a battery test and provided that the fresh battery is not low, deactivates the BATT LO output and resets BATT LO in the status register. Normal 24hr testing resumes. If a different load or BATT LO thresholds are desired for testing the backup battery, then external program resistors can be used in conjunction with the TRIP and TEST inputs (see the Battery-Test Control Register and Other Test Options section). Battery replacement following BATT_LO activation should be done with VCC nominal and not in battery-
backup mode so that SRAM data is not lost. Alternatively, if SRAM data need not be saved, the battery can be replaced with the VCC supply removed. If a battery is replaced in battery-backup mode, sufficient time must be allowed for the voltage on the VOUT output to decay to zero. This timing ensures that the freshness-seal mode of operation has been reset and is active when VCC is powered up again. If insufficient time is allowed, then VCC must exceed VBATT during the subsequent power-up to ensure that the MAX6916 has left battery-backup mode (Figure 16). The MAX6916 does not constantly monitor an attached battery because such monitoring would drastically reduce the life of the battery. As a result, the MAX6916 only tests the battery for 1s every 24hr. If a good battery (one that has not been previously flagged with BATT_LO) is removed between battery tests, the MAX6916 does not immediately sense the removal and does not activate BATT_LO until the next-scheduled battery test. For this reason, a software-commanded battery test should be performed after a battery replacement by writing any data to the battery-test register at address 0Dh.
24
______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
VRST VCC
VBATT VBTP (BATTERY TEST POINT) tBTCN
tBTPW BATTERYTEST ACTIVE tBL ONCE THE BATTERY IS DETECTED AS LOW, THE PERIODIC BATTERY TESTING CEASES. A BATTERY CHECK CAN BE INITIATED BY WRITING TO THE REGISTER 0x0D.
BATT_LO
Figure 15. Battery Test Timing Diagram
VBATT VRST VCC BATTERY DETACH VBATT FLOATING BATTERY ATTACH BATTERY DETACH BATTERY ATTACH VRST VRST VRST
VBATT
0V
VBATT FLOATING EXIT FRESHNESS SEAL MODE
VOUT
0V VBATT CONNECTED TO VOUT VCC CONNECTED TO VOUT VBATT CONNECTED TO VOUT FRESHNESS SEAL RESET VCC CONNECTED TO VOUT VBATT CONNECTED TO VOUT
Figure 16. Battery Switchover Diagram
Battery monitoring is only a useful technique when testing can be done regularly over the entire life of a lithium battery. Because the MAX6916 only performs battery monitoring when VCC is nominal, systems that are powered down for excessively long periods can completely drain their lithium cells without receiving any advanced warning. To prevent such an occurrence, systems using the MAX6916 battery-monitoring feature should be powered up periodically (at least every few months) in order to perform battery testing. Furthermore, anytime BATT_LO is activated on the first battery test after a power-up, data integrity should be checked through a checksum or other technique. Timekeeping data would also be suspect and should be checked for accuracy against an accurate known reference.
Freshness-Seal Mode When the battery is first attached to the MAX6916 without VCC power applied, the device does not immediately provide battery-backup power to VOUT (Figure 16). Only after VCC exceeds VRST and later falls below both VRST and VBATT does the MAX6916 leave freshnessseal mode and provide battery-backup power. This mode allows a battery to be attached during manufacturing but not used until after the system has been activated for the first time. As a result, no battery energy is drained during storage and shipping.
______________________________________________________________________________________
25
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Rf MAX6916
One final battery-test feature of the MAX6916 is the software write address/command of 0Dh that forces a 1s battery test to be performed every time it is sent.
Applications Information
Crystal Selection
Rd Cg 12pF Cd 12pF
X1
X2 EXTERNAL CRYSTAL
Figure 17. Oscillator Functional Schematic
Battery-Test Control Register and Other Test Options There are two warning formats for the BATT_LO and BATT_ON outputs. By setting D0 (BATT ON BLINK) and/or D1 (BATT LO BLINK) in the control register to one, the respective warning output toggles on every 0.5s and off every 0.5s when set to active low by the internal MAX6916 logic. This setting allows a more noticeable warning indicator in systems where an LED is connected as a status or warning light for the end user. The POR default settings of zero leave these outputs set to logic-low when they are active. D5 (INT/EXT TEST) selects whether the battery test circuit is configured as internal or external (Table 1). If D5 is set to zero (default value), then the internal resistordivider is used between VBATT and GND to select the battery-low trip point (Figure 14). The internal resistors, RSET+_INT and RSET-_INT, are used to divide VBATT in half, as well as to provide the battery-test-load resistance of 0.91M (typ). If D5 (INT/EXT TEST) is set to one, then the two external resistors, RSET+_EXT and RSET-_EXT, are used to divide VBATT down to the ratio for a trip point set at TRIP of 1.24V (VTRIP) (typ). RSET+_EXT plus RSET-_EXT in series provide the load resistance used during the 1s every24hr-battery test. If additional load resistance is desired, then an external load resistor, RLOAD_EXT, can be placed between VBATT and the collector or drain of the transistor driven by TEST. The equivalent load resistance used to test the battery is then RLOAD_EXT in parallel with the series combination of RSET+_EXT plus R SET-_EXT . In this mode, the internal resistors are removed from TRIP and are not used as a load during the battery-test pulse. TEST pulses high to perform the battery test and remains low between tests.
26
Connect a 32.768kHz watch crystal directly to the MAX6916 through pins 9 and 10 (X1, X2) (Figure 17). Use a crystal with a specified load capacitance (CL) of 6pF. Refer to Applications Note 616: Considerations for Maxim Real-Time Clock Crystal Selection from the Maxim website (www.maxim-ic.com) for more information regarding crystal parameters and crystal selection, as well as a list of crystal manufacturers. When designing the PC board, keep the crystal as close to the X1 and X2 pins of the MAX6916 as possible. Keep the trace lengths short and small to reduce capacitive loading and prevent unwanted noise pickup. Place a guard ring around the crystal and connect the ring to ground to help isolate the crystal from unwanted noise pickup. Keep all signals out from beneath the crystal and the X1 and X2 pins to prevent noise coupling. Finally, an additional local ground plane on an adjacent PC board layer can be added under the crystal to shield it from unwanted pickup from traces on other layers of the board. This plane should be isolated from the regular PC board ground, connected to the GND pin of the MAX6916, and needs to be no larger than the perimeter of the guard ring. Ensure that this ground plane does not contribute to significant capacitance between the signal line and ground on the connections that run from X1 and X2 to the crystal. See Figure 18.
GROUND PLANE VIA CONNECTION GUARD RING * * ** * X1 X2 * * * * MAX6916 * *
GROUND PLANE VIA CONNECTION
SM WATCH CRYSTAL *
** * GROUND PLANE VIA CONNECTION *LAYER 1 TRACE **LAYER 2 LOCAL GROUND PLANE CONNECT ONLY TO PIN 8 GROUND PLANE VIA CONNECTION **
Figure 18. Crystal Layout ______________________________________________________________________________________
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller
For frequency stability over temperature, refer to the Applications Note 617: Real-Time-Clock Selection and Optimization from the Maxim website (www.maxim-ic.com.)
Pin Configuration
TOP VIEW
VOUT 1 TEST 2 TRIP 3 BATT_ON 4 CE_IN 5 MR 6 WDI 7
MAX6916
+
Selector Guide
PART MAX6916EO30 MAX6916EO33 MAX6916EO50 SUPPLY VOLTAGE (V) 3.0 3.3 5.0
20 VBATT 19 VCC 18 RESET 17 BATT_LO
MAX6916
16 CE_OUT 15 ALM 14 SCLK 13 DOUT 12 CS 11 DIN
Chip Information
PROCESS: CMOS
GND 8 X1 9 X2 10
QSOP
Typical Application Circuit
3.3V 3.3V 3.3V ALM BATT_LO CS N.C. BATT_ON DOUT X1 CRYSTAL X2 DIN SCLK RESET CE_IN VCC 0.1F WDI MISO MOSI SCK RST P1.0 GND C SS INTO
3.3V LED
3.3V
MAX6916
TRIP
N.C. N
VBATT 3.0V 0.1F
TEST
N.C.
VOUT 0.1F USER RESET MR CE_OUT GND CE
I/O
CMOS SRAM
GND
______________________________________________________________________________________
27
SPI-Compatible RTC with Microprocessor Supervisor, Alarm, and NV RAM Controller MAX6916
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information go to www.maxim-ic.com/packages.)
QSOP.EPS
PACKAGE OUTLINE, QSOP .150", .025" LEAD PITCH
21-0055
E
1 1
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
28 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of MAX6916EO30

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X